package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.Customer;
import cn.wolfcode.ssm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {

    void delete(Long id);

    void save(Customer customer);

    Customer getOne(Long id);

    List<Customer> getAll();

    void update(Customer customer);

    PageInfo<Customer> selctForPageResult(QueryObject qo);

    Customer selectByTel(String tel);

    void changeStatus(Long id, Integer status);
}
